# python读写文件
f1 = open('hello.txt', 'w')
f1.write('hello\n')

for i in range(10000):
    f1.write(str(i)+'world\n')

f1.close()


with open('E:\\hello.txt', 'w') as f2:
    f2.write('hello')


